import { IMessagePreview } from '@/views/home/chat/types';
import { ref } from 'vue';

export const showMessage = ref(false);
export const currentMessage = ref<IMessagePreview>();

type IAction = {
  more: undefined | (() => any);
  emoji: undefined | (() => any);
  plus: undefined | (() => any);
};
export const messageAction = ref<IAction>({
  more: Function,
  emoji: () => {},
  plus: () => {},
});
